package com.zjgsu.nftplatform.client;

import com.zjgsu.nftplatform.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ahy231
 * @date 2022/3/11 15:01
 * @description
 */
@FeignClient("USER")
public interface UserClient {

    @RequestMapping(value = "/login/web", method = RequestMethod.POST)
    Result login(@RequestParam String username, @RequestParam String password);
}
